package com.song.service;

import com.song.factory.CalFactory;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @Author Klys
 * @Date 2023/6/17 19:44
 * @Description
 * @Version 1.0
 */
@Service
public class CalService {

    @Resource
    CalFactory calFactory;

    public void testService(Integer act) {
        calFactory.getICal(act).cal();
    }

}
